package com.lnking.lnkingplace.service;

import com.lnking.lnkingplace.model.dto.recordUser.RecordDetailDto;
import com.lnking.lnkingplace.model.dto.recordUser.RecordUserSituationDto;
import com.lnking.lnkingplace.model.dto.user.UserDetailDto;
import com.lnking.lnkingplace.model.entity.RecordUser;
import com.lnking.lnkingplace.model.request.record.user.RecordUserAddRequest;
import com.lnking.lnkingplace.model.request.record.user.RecordUserUpdateRequest;
import com.lnking.starter.mybatis.service.ICustomService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sn
 * @since 2022-08-18
 */
public interface IRecordUserService extends ICustomService<RecordUser> {

    /**
     * 创建
     * @param params
     */
    void add(RecordUserAddRequest params) throws Exception;

    /**
     * 更新
     * @param params
     */
    void update(RecordUserUpdateRequest params);

    RecordDetailDto getUserDetailById(String id);

    RecordUserSituationDto situation();

    void write();

    void read();
}
